﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Script.Serialization;
using Easy.Operation;


namespace Easy.Web.Service.Entity
{
    /// <summary>
    /// GetRelationList 的摘要说明
    /// </summary>
    public class GetRelationList : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";

            string entityid = context.Request["entityid"];
            List<RelationMapClass> list = EntitySetting_Function.GetRelationList(entityid);


            context.Response.Write(list.ToJson());
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}